package com.yoyo.itravel.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @Description 景点门票类型实体类
 *
 * @author HZX
 * @date 2020/5/9 0:23
 */
public class TicketType implements Serializable {

    private String ticketTypeId; // 门票类型id
    private String ticketTypeName; // 门票类型名称
    private String description; // 门票类型描述

    private String sightId; // 所属景点id
    private Sight sight; // 所属景点对象

    List<TicketTypeDetail> ticketTypeDetails; // 景点具体门票类型

    public TicketType() {
    }

    public TicketType(String ticketTypeId, String ticketTypeName, String description, String sightId, Sight sight, List<TicketTypeDetail> ticketTypeDetails) {
        this.ticketTypeId = ticketTypeId;
        this.ticketTypeName = ticketTypeName;
        this.description = description;
        this.sightId = sightId;
        this.sight = sight;
        this.ticketTypeDetails = ticketTypeDetails;
    }

    public String getTicketTypeId() {
        return ticketTypeId;
    }

    public void setTicketTypeId(String ticketTypeId) {
        this.ticketTypeId = ticketTypeId;
    }

    public String getTicketTypeName() {
        return ticketTypeName;
    }

    public void setTicketTypeName(String ticketTypeName) {
        this.ticketTypeName = ticketTypeName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getSightId() {
        return sightId;
    }

    public void setSightId(String sightId) {
        this.sightId = sightId;
    }

    public Sight getSight() {
        return sight;
    }

    public void setSight(Sight sight) {
        this.sight = sight;
    }

    public List<TicketTypeDetail> getTicketTypeDetails() {
        return ticketTypeDetails;
    }

    public void setTicketTypeDetails(List<TicketTypeDetail> ticketTypeDetails) {
        this.ticketTypeDetails = ticketTypeDetails;
    }

    @Override
    public String toString() {
        return "TicketType{" +
                "ticketTypeId='" + ticketTypeId + '\'' +
                ", ticketTypeName='" + ticketTypeName + '\'' +
                ", description='" + description + '\'' +
                ", sightId='" + sightId + '\'' +
                ", sight=" + sight +
                ", ticketTypeDetails=" + ticketTypeDetails +
                '}';
    }
}
